import Add from "../pages/students/add.js";
import Students from "../pages/students/index.js";
import ImgUpLoad from "../pages/students/";

export default{
    "/info/addStudents"() {
        new Add({ el: '.info-content', templateUrl: '/src/template/students/add.html' }).init();
    },
    "/info/students"() {
        new Students({ el: '.info-content', templateUrl: '/src/template/students/index.html' }).init();
    },
    "/info/imgUpLoad"(id) {
        new ImgUpLoad({ el: '.info-content',id, templateUrl: '/src/template/students/imgUpLoad.html' }).init();
    }
}